#pragma once
#include "Element.h"
#include  "SpriteSingle.h"
#include "Animation.h"

namespace Implement
{
	using namespace Core::GameLogic;
	using namespace Graphics;
	using namespace Core::Devices;
	class Treasure: public Element,public Animation
	{
		int m_Money;
	public:
		Treasure( Position& start, SimpleMap* map,int money=10);
		~Treasure();
		int GetMoney();
		const Position& GetPos();
	};
}
